package com.zkn.component.office.excel.test.bo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.zkn.component.office.excel.annotation.ExcelDataList;
import com.zkn.component.office.excel.annotation.ExcelField;
import com.zkn.component.office.excel.annotation.ExcelSheet;

@ExcelSheet("Account")
@SuppressWarnings("serial")
public class AccountSheetData implements Serializable{
	
	@ExcelField("$title")
	private String title;
	
	@ExcelDataList
	private List<TuitionFee> list;
	
	@ExcelField("$sum")
	private Double sum;
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public List<TuitionFee> getList() {
		return list;
	}
	public void setList(List<TuitionFee> list) {
		this.list = list;
	}
	public Double getSum() {
		return sum;
	}
	public void setSum(Double sum) {
		this.sum = sum;
	}

	public static class TuitionFee{
		@ExcelField("$userName")
		private String student;
		
		@ExcelField("$date")
		private Date date;
		
		@ExcelField("$age")
		private Integer age;
		
		@ExcelField("$address")
		private String address;
		
		@ExcelField("$phone")
		private String phone;
		
		@ExcelField("$money")
		private Double money;

		public String getStudent() {
			return student;
		}

		public void setStudent(String student) {
			this.student = student;
		}

		public Date getDate() {
			return date;
		}

		public void setDate(Date date) {
			this.date = date;
		}

		public Integer getAge() {
			return age;
		}

		public void setAge(Integer age) {
			this.age = age;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public Double getMoney() {
			return money;
		}

		public void setMoney(Double money) {
			this.money = money;
		}
	}
}
